package com.woniu.order.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.woniu.common.utils.ResponseData;
import com.woniu.order.pojo.ZcxOrderApplicationProduct;
import com.woniu.order.service.ZcxOrderApplicationProductService;
import com.woniu.order.mapper.ZcxOrderApplicationProductMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* @author 张
* @description 针对表【zcx_order_application_product】的数据库操作Service实现
* @createDate 2024-11-26 11:19:49
*/
@Service
public class ZcxOrderApplicationProductServiceImpl extends ServiceImpl<ZcxOrderApplicationProductMapper, ZcxOrderApplicationProduct>
    implements ZcxOrderApplicationProductService{

    @Autowired
    private ZcxOrderApplicationProductMapper zcxOrderApplicationProductMapper;
    @Override
    public ResponseData<?> queryOrderApplicationProduct(String applicationCode) {
    List<ZcxOrderApplicationProduct> list = zcxOrderApplicationProductMapper.queryOrderApplicationProduct(applicationCode);
        return new ResponseData<>().ok(list);
    }
}




